mowbly

$m

Introduction

Mowbly is a cross platform mobile SDK to develop apps that run on multiple mobile OS, desktop OS and also as web applications using a single code base. Apps in Mowbly use standard HTML, CSS and Javascript.

Mowbly is built with focus on enabling business app development though apps of other categories are also plausible. Every feature that is supported by Mowbly SDK is weighed for its enterprise use case and value before being implemented. In this way our approach has been to create a building block for business apps rather than a general purpose mobile app SDK. Mowbly has been in development and has been employed in real time enterprise deployments. It has been successfully used by enterprises in BFSI, Retail, Construction, E-Commerce, Media, Logistics and Aviation sectors.

Features

The Mowbly SDK is a javascript abstraction over native mobile OS APIs. It abstracts a chosen set of features provided by these OS. The APIs which are abstracted are chosen on their common value towards building business applications. E.g. Most business applications need to communicate via HTTP to specific web services, hence HTTP is a feature candidate that passes the implementation criteria for Mowbly SDK.

Feature List

The following is the list of features currently implemented in Mowbly. The features can be grouped into Feature Groups. Each feature group has a set of functions which are related to that feature group. The functions are all accessible via a global Javascript object represented as ‘mowbly’ or ‘$m’. Each of these functions are each explained in detail in the later sections.

Feature Group

Functions

Page Management

open

setResult

close

pageName

parentPage

onReady

onResume

onData

onResult

onPause

onClose

onForeground

onBackground

Utility

alert

toast

confirm

getPref

putPref

savePref

removePref

removeAllPref

showProgress

hideProgress

File

file

 - create

 - exists

 - getPath

 - read

 - remove

 - write

directory

 - create

 - exists

 - getFiles

 - getPath

 - remove


getFilePath

fileExists

readFile

writeFile

deleteFile

appendFile

unzipFile

Database

openDatabase

Network

getNetwork

networkConnected

isHostReachable

onNetworkConnect

onNetworkDisconnect

Http

get

download

post

httpRequest

Message

email

sms

sendBgSms

Device

getDeviceId

getMemStat

isAndroid

isBlackBerry

isBlackBerry10

isIPad

isIOS

isIPhone

isWeb

isWindowsPhone

onAndroid

onBlackBerry

onBlackBerry10

onIPad

onIOS

onIPhone

onWeb

onWindowsPhone

Camera

getCamConfig

camSetup

capturePic

choosePic

showAsGallery

Contacts

contact

findContact

pickContact

callContact

Location

getLocation

Logging

logDebug

logError

logFatal

logInfo

logWarn

Misc

bridgeVersion